package exsun.jt808.data.upload_data.jt808;

import exsun.jt808.data.upload_data.Jt808EntityBase;

import java.io.Serializable;

public class DriverInfo extends Jt808EntityBase implements Serializable {
    /**
     * 状态
     * 1：从业资格证 IC 卡插入（驾驶员上班）； 2：从业资格证 IC 卡拔出（驾驶员下班）。
     */
    private int status;
    /**
     * 时间
     * 插卡/拔卡时间
     */
    private String time;
    /**
     * IC 卡读取结果
     * 0：IC 卡读卡成功；
     * 1：读卡失败，原因为卡片密钥认证未通过；
     * 2：读卡失败，原因为卡片已被锁定；
     * 3：读卡失败，原因为卡片被拔出；
     * 4：读卡失败，原因为数据校验错误
     */
    private int  icCardreadResult;
    /**
     * 驾驶员姓名
     */
    private String driverName;
    /**
     * 从业资格证编码
     */
    private String qualificationCode;
    /**
     * 发证机构名称
     */
    private String issuingAuthority;
    /**
     * 证件有效期
     */
    private String  certificateValidity;

    /**
     * 驾驶员身份证号
     * @return
     */
    private String driverId;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public int getIcCardreadResult() {
        return icCardreadResult;
    }

    public void setIcCardreadResult(int icCardreadResult) {
        this.icCardreadResult = icCardreadResult;
    }

    public String getDriverName() {
        return driverName;
    }

    public void setDriverName(String driverName) {
        this.driverName = driverName;
    }

    public String getQualificationCode() {
        return qualificationCode;
    }

    public void setQualificationCode(String qualificationCode) {
        this.qualificationCode = qualificationCode;
    }

    public String getIssuingAuthority() {
        return issuingAuthority;
    }

    public void setIssuingAuthority(String issuingAuthority) {
        this.issuingAuthority = issuingAuthority;
    }

    public String getCertificateValidity() {
        return certificateValidity;
    }

    public void setCertificateValidity(String certificateValidity) {
        this.certificateValidity = certificateValidity;
    }

    public String getDriverId() {
        return driverId;
    }

    public void setDriverId(String driverId) {
        this.driverId = driverId;
    }
}
